package edu.ustb.mis.exception;

/**
 * Service层公用的Exception. 继承自RuntimeException,在函数中抛出会触发Spring的事务管理器引起事务回退.
 * 
 * @author calvin
 */
public class ServiceException extends RuntimeException {
	private static final long serialVersionUID = 3583566093089790852L;

	public ServiceException() {
		super();
	}

	public ServiceException(final String message) {
		super(message);
	}

	public ServiceException(final String message, final Throwable cause) {
		super(message, cause);
	}

	public ServiceException(final Throwable cause) {
		super(cause);
	}
}
